package com.xiaoma.common.utils

import android.annotation.SuppressLint
import android.app.Application
import android.content.Context

/**
 * author: liangjingbo
 * date: 2023/8/9
 * describe:
 */
@SuppressLint("StaticFieldLeak")
object AppHolder {
    lateinit var app: Context
    lateinit var application: Application

    @JvmStatic
    fun prepare(application: Application) {
        AppHolder.application = application
        app = application.applicationContext
    }
}